#include "TirEnnemi.h"
#include <stdlib.h>
#include <string.h>

void initTirE( TirEnnemi *tir, VaisseauEnnemi *V)
{
    tir->imageTir= (char *)malloc(sizeof(char)*10);
    strcpy(tir->imageTir, "+");
    tir->id = '+';
    tir->y = V->y;
    tir->x = (V->x)-2;
}

void initTirE2( TirEnnemi *tir, VaisseauEnnemi *V)
{
    tir->imageTir= (char *)malloc(sizeof(char)*10);
    strcpy(tir->imageTir, "*");
    tir->id = '*';
    tir->y = V->y;
    tir->x = V->x;
}


void initTirE3( TirEnnemi *tir, VaisseauEnnemi *V,int posx, int posy)
{
    tir->imageTir= (char *)malloc(sizeof(char)*10);
    strcpy(tir->imageTir, "/");
    tir->id = '/';
    tir->y = posy;
    tir->x = V->x + posx;
}
